#if !defined(RESOURCEEFFECT_H)
#define RESOURCEEFFECT_H

#include "resource.h"
#include <d3dx9.h>

namespace gunsmith
{
/*! \class CResourceEffect
	\brief Effect resource. */
class CResourceEffect : public CResource
{
public:
					CResourceEffect		();
	virtual			~CResourceEffect	();
	virtual bool	Create				(void *pSource);
	virtual void	Destroy				();
	ID3DXEffect*	GetEffect			() const;

private:
	ID3DXEffect			*m_pEffect;
};
};

#endif //RESOURCEEFFECT_H